#include "pch.h"
#include "GravityPositionCalculation.h"

namespace gaeaway_load
{
    double GravityPositionCalculation::AddEqCenterGravityPosition(
        double centerA, double centerB, 
        double gravityA, double gravityB)
    {
        return (centerA * gravityA + centerB * gravityB) / (gravityA + gravityB);
    }

}
